<!DOCTYPE html>
<html class="smartao">
<head>
<title>实体关联对象</title>
<jsp:include page="../../include/header.jsp" />
</head>
<body class="base entityitem">
	<div class="breadcrumb">
		<span title="" data-original-title="" class="current"><i class="icon-cog icon-large"></i> 实体关联对象</span>
	</div>
	<div class="pagemenu">
		<a class="btn btn-success btn-small" href="base/entityitem/entityitem!input.action?moduleId=${moduleId}">新建</a>
	</div>
	<div class="searchs"></div>
	<table class="table table-bordered table-hover">
		<thead>
		<tr role="row">
			<th class="sorting" role="columnheader" rowSpan="1" colSpan="1">名称<span class="sort-icon"><span></span></span></th>
			<th class="sorting" role="columnheader" rowSpan="1" colSpan="1">目标URL<span class="sort-icon"><span></span></span></th>
			<th class="sorting" role="columnheader" rowSpan="1" colSpan="1">链接URL<span class="sort-icon"><span></span></span></th>
			<th class="sorting" role="columnheader" rowSpan="1" colSpan="1">所属模块<span class="sort-icon"><span></span></span></th>
		</tr>
		</thead>
		<tbody role="alert" aria-relevant="all" aria-live="polite">
		  <c:forEach var="entity" items="${page.content}">
		  <tr>
		    <td><a href="base/entityitem/entityitem!input.action?id=${entity.id}">${entity.name}</a></td>
		    <td>${entity.target}</td>
		    <td>${entity.href}</td>
		    <td>${entity.module.name}</td>
		  </tr>
		  </c:forEach>
		</tbody>
	</table>
	<jsp:include page="../../include/pagination.jsp" />
	<script type="text/javascript">
		initPagination(function(pageNo){
			toLocation('base/entityitem/entityitem.action?pageNumber='+pageNo);
		});
	</script>
</body>
</html>